/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.kiakaku.downloadpage;

import net.htmlparser.jericho.Logger;
import net.htmlparser.jericho.LoggerProvider;

/*
 *   File MyLogger is created by kiakaku on Mar 19, 2012 8:11:55 AM
 * If you want modify this file please insert information in here 
 * - Last modify in Mar 19, 2012, 8:11:55 AM by kiakaku
 *                  
 *
 * @author kiakaku
 */
public class MyLogger implements Logger,LoggerProvider {

    @Override
    public void error(String string) {
        System.out.println("Lỗi");
    }

    @Override
    public void warn(String string) {
        System.out.println("Cảnh báo");
    }

    @Override
    public void info(String string) {
        System.out.println("Thông tin");
    }

    @Override
    public void debug(String string) {
        System.out.println("debug");
    }

    @Override
    public boolean isErrorEnabled() {
        return true;
    }

    @Override
    public boolean isWarnEnabled() {
        return true;
    }

    @Override
    public boolean isInfoEnabled() {
        return true;
    }

    @Override
    public boolean isDebugEnabled() {
        return true;
    }

    @Override
    public Logger getLogger(String string) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
